#!/bin/bash
date >> /scripts/datetime-cpu.txt
top -b -n 1 | grep Cpu >> /scripts/cpu-now.txt
paste /scripts/datetime-cpu.txt /scripts/cpu-now.txt > /scripts/cpu.txt
